package com.hjm.project.ActStage.ActStage.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 阶梯对象 act_stage
 * 
 * @author LOVE
 * @date 2020-11-29
 */
public class ActStage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 阶段类型（0 返现，1 分润） */
    @Excel(name = "阶段类型", readConverterExp = "0=,返=现，1,分=润")
    private Long type;

    /** 所属活动阶段id */
    @Excel(name = "所属活动阶段id")
    private String stageId;

    /** 阶段起始值 */
    @Excel(name = "阶段起始值")
    private Long beginNum;

    /** 阶段结束值 */
    @Excel(name = "阶段结束值")
    private Long endNum;

    /** 阶段匹配值 */
    @Excel(name = "阶段匹配值")
    private String matchingNum;

    /** 返现阶段 */
    @Excel(name = "返现阶段")
    private Long stage;

    /** 阶段起始日期 */
    @Excel(name = "阶段起始日期")
    private String beginDate;

    /** 阶段结束日期 */
    @Excel(name = "阶段结束日期")
    private String endDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setStageId(String stageId)
    {
        this.stageId = stageId;
    }

    public String getStageId()
    {
        return stageId;
    }
    public void setBeginNum(Long beginNum)
    {
        this.beginNum = beginNum;
    }

    public Long getBeginNum()
    {
        return beginNum;
    }
    public void setEndNum(Long endNum)
    {
        this.endNum = endNum;
    }

    public Long getEndNum()
    {
        return endNum;
    }
    public void setMatchingNum(String matchingNum)
    {
        this.matchingNum = matchingNum;
    }

    public String getMatchingNum()
    {
        return matchingNum;
    }
    public void setStage(Long stage)
    {
        this.stage = stage;
    }

    public Long getStage()
    {
        return stage;
    }
    public void setBeginDate(String beginDate)
    {
        this.beginDate = beginDate;
    }

    public String getBeginDate()
    {
        return beginDate;
    }
    @Override
    public void setEndDate(String endDate)
    {
        this.endDate = endDate;
    }
    @Override
    public String getEndDate()
    {
        return endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("stageId", getStageId())
            .append("beginNum", getBeginNum())
            .append("endNum", getEndNum())
            .append("matchingNum", getMatchingNum())
            .append("stage", getStage())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .toString();
    }
}
